#include<iostream>
using namespace std;
int main()
{
    int n;
    while(1)
    {
        cout<<"please input a number:"<<endl;
        cin>>n;
        switch(n)
        {
            case 1:
                cout<<"d"<<endl;
                break;
            case 2:
                cout<<"S"<<endl;
                break;
            case 3:
            case 7:
                cout<<"R"<<endl;
                break;
            case 6:
                cout<<"T"<<endl;
                break;
            case 4:
                cout<<"e"<<endl;
                break;
            case 999:
                cout<<"SSS"<<endl;
                break;
            default:
                cout<<"no price"<<endl;
                break;
        }
    }

}
